From: Siddharth Sharma Date: Fri, 12 Apr 2024 16:11:58 +0000 (+0200) Subject: Add YANG LSP support to Eglot X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~14^2~18^2~1869 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f66820d8771ca857fb4edd7300823a2cea6120be;p=emacs.git Add YANG LSP support to Eglot * lisp/progmodes/eglot.el (eglot-server-programs): Add 'yang-language-server' and 'json-ts-mode'. (Bug#70364) Copyright-paperwork-exempt: yes --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index c395efd9f55..2ea3ecc76cf 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -242,7 +242,7 @@ automatically)." '("pylsp" "pyls" ("basedpyright-langserver" "--stdio") ("pyright-langserver" "--stdio") "jedi-language-server" "ruff-lsp"))) - ((js-json-mode json-mode json-ts-mode) + ((js-json-mode json-mode json-ts-mode jsonc-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("vscode-json-languageserver" "--stdio") ("json-languageserver" "--stdio")))) @@ -302,6 +302,7 @@ automatically)." (futhark-mode . ("futhark" "lsp")) ((lua-mode lua-ts-mode) . ,(eglot-alternatives '("lua-language-server" "lua-lsp"))) + (yang-mode . ("yang-language-server")) (zig-mode . ("zls")) ((css-mode css-ts-mode) . ,(eglot-alternatives '(("vscode-css-language-server" "--stdio")